
<script src="__CDN__/Scripts/PSI/Home/MainForm.js?dt={$Think.config.site.version}" type="text/javascript"></script>
<script>
  Ext.onReady(function () {
    var app = Ext.create("PSI.App", {
      userName: "{$admin.username}",
      productionName: "{$site.name|mb_substr=0,4,'utf-8'|mb_strtoupper='utf-8'}",
      showCopyright: true
    });

    app.add(Ext.create("PSI.Home.MainForm", {
        pSale: "",
        pInventory: "",
        pPurchase:  "",
        pMoney: "",
      productionName: "{$site.name|mb_substr=0,4,'utf-8'|mb_strtoupper='utf-8'}"
    }));
    app.setAppHeader({
      title: "{$title|default=''}",
      iconCls: "PSI-fid-9997"
    });
  });
</script>
